package com.quan.weixin.api;

import com.quan.weixin.model.ResponseMsg;

/**
 * access_token是公众号的全局唯一接口调用凭据
 */
@SuppressWarnings("serial")
public class AccessToken extends ResponseMsg {
	
	private String access_token ;	//获取到的凭证
	
	private long expires_in ;		//凭证有效时间，单位：秒

	public String getAccess_token() {
		return access_token;
	}

	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	}

	public long getExpires_in() {
		return expires_in;
	}

	public void setExpires_in(long expires_in) {
		this.expires_in = expires_in;
	}

	@Override
	public String toString() {
		return "AccessToken [access_token=" + access_token + ", expires_in="
				+ expires_in + ", getErrcode()=" + getErrcode()
				+ ", getErrmsg()=" + getErrmsg() + "]";
	}
}
